﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Vit.Web.Models;

namespace Vit.Web.Providers
{
    public interface IDataSourceProvider
    {
        IEnumerable<SelectListItem> GetSourceList(string categoryName);
        string GetTextByValue(string categoryName, object value);
        string GetValueByText(string categoryName, string text, bool insertIfNotExists);
        string Name { get; }
    }
}
